<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Sample title</title>
    <meta name="layout" content="main" />
  </head>
  <body>
      <div id="pageBody">
          <h1>Retrieve Product Type</h1>

          ${flash.message}

          <br/><br/>
          <table>
              <tr>
                <th>Product Type Name</th>
                <th>Description</th>
                <th></th>
              </tr>

              <g:each in="${productTypes}" var="instance" status="s">

                <tr>
                  <input type="hidden" name="id" value="${instance.id}" />
                  <td>${instance.productTypeName}</td>
                  <td>${instance.description}</td>
                  <td><a href="http://localhost:8088/WineXpressClient/productTypeUpdate?id=${instance.id}"/>Edit</td>
                </tr>

              </g:each>
          </table>
      </div>
  </body>
</html>